package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmChannel;
import com.heima.model.wemedia.pojos.WmSensitive;

/**
 * @author Psycho
 * @create 2022-05-02-11:33
 */
public interface AdminChannelService extends IService<WmChannel> {


    /**
     * 敏感词的查询
     * @param dto
     * @return
     */
    public ResponseResult listSensitives(SensitiveDto dto);


    /**
     * 删除某个敏感词
     * @param id
     * @return
     */
    public ResponseResult deleteOneSensitive(Integer id);


}
